/**
 * 一体化平台重点关爱人群 api 封装
 *
 * @Author:    cfsjiazy
 * @Date:      2025-09-12 11:50:48
 * @Copyright   
 */
import { postRequest, getRequest } from '/@/lib/axios';

export const cfs119CarePersonApi = {

  /**
   * 分页查询  @author  cfsjiazy
   */
  queryPage : (param) => {
    return postRequest('/cfs119CarePerson/queryPage', param);
  },

  /**
   * 增加  @author  cfsjiazy
   */
  add: (param) => {
      return postRequest('/cfs119CarePerson/add', param);
  },

  /**
   * 修改  @author  cfsjiazy
   */
  update: (param) => {
      return postRequest('/cfs119CarePerson/update', param);
  },


  /**
   * 删除  @author  cfsjiazy
   */
  delete: (id) => {
      return getRequest(`/cfs119CarePerson/delete/${id}`);
  },

  /**
   * 批量删除  @author  cfsjiazy
   */
  batchDelete: (idList) => {
      return postRequest('/cfs119CarePerson/batchDelete', idList);
  },

};
